Resource URL: /platform/<<version=1>>/auth/providers/ads/<ID>/search

    Overview: This resource performs searches within ADS providers.

     Methods: GET

********************************************************************************

Method GET: Retrieve search results.

       URL: GET /platform/<<version=1>>/auth/providers/ads/<ID>/search

Query arguments:
        domain=<string> The domain to search in.
   description=<string> The user or group description to search for.
        resume=<string> Continue returning results from previous call using
                        this token (token should come from the previous call,
                        resume cannot be used with other options).
 search_users=<boolean> If true, search for users.
        filter=<string> The LDAP filter to apply to the search.
        limit=<integer> Return no more than this many results at once (see
                        resume).
          user=<string> The user name for the domain if untrusted.
      password=<string> The password for the domain if untrusted.
search_groups=<boolean> If true, search for groups.

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "additionalProperties": false, 
      "type": "object", 
      "properties": {
        "objects": {
          "minItems": 0, 
          "items": {
            "type": "object", 
            "properties": {
              "display_name": {
                "minLength": 0, 
                "type": "string", 
                "maxLength": 255
              }, 
              "description": {
                "minLength": 0, 
                "type": "string", 
                "maxLength": 512
              }, 
              "id": {
                "type": "object", 
                "description": "Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.", 
                "properties": {
                  "type": {
                    "enum": [
                      "user", 
                      "group", 
                      "wellknown"
                    ], 
                    "type": "string", 
                    "description": "Specifies the type of persona, which must be combined with a name."
                  }, 
                  "id": {
                    "minLength": 0, 
                    "type": "string", 
                    "description": "Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.", 
                    "maxLength": 261
                  }, 
                  "name": {
                    "minLength": 0, 
                    "type": "string", 
                    "description": "Specifies the persona name, which must be combined with a type.", 
                    "maxLength": 255
                  }
                }
              }
            }
          }, 
          "type": "array", 
          "maxItems": 4294967295
        }, 
        "resume": {
          "minLength": 0, 
          "type": [
            "string", 
            "null"
          ], 
          "description": "Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options)."
        }
      }
    }
  ]
}
